const app = getApp()
//TODO: 暂时将个人中心设置为第一页
Page({
  data: {
    topPic: 'http://www.wxapp-union.com/data/attachment/block/79/797495244fdc2019d41f29c91d62b1bf.jpg',
    userInfo: {
      avatar: 'https://dn-coding-net-production-static.qbox.me/f43d0419-b1e6-4552-8558-d353c5bf1f5c.jpg?imageMogr2/auto-orient/format/jpeg/crop/!489x489a100a0',
      nickname: 'aaaa',
      account: 189
    },
    couponList: [
      {
        title: '现金券·合作商专享',
        value: '￥20',
        scope: '适用于所有课程',
        deadline: '2017-1-20'
      },
      {
        title: '现金券·合作商专享',
        value: '￥20',
        scope: '适用于所有课程',
        deadline: '2017-1-20'
      },
      {
        title: '现金券·合作商专享',
        value: '￥20',
        scope: '适用于所有课程',
        deadline: '2017-1-20'
      },
      {
        title: '现金券·合作商专享',
        value: '￥20',
        scope: '适用于所有课程',
        deadline: '2017-1-20'
      },
    ],
  },
  onLoad(){
    console.log('onLoad')
  },
})
